<!DOCTYPE html>
<html lang="en">
<!-- container-fluid -->
<head>
    <title>后台模板</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="{{asset(url('css/bootstrap.min.css'))}}" />
    <link rel="stylesheet" href="{{asset(url('css/bootstrap.css'))}}" />
    <link rel="stylesheet" href="{{asset(url('css/bootstrap-responsive.min.css'))}}" />
    <link rel="stylesheet" href="{{asset(url('css/fullcalendar.css'))}}" />
    <link rel="stylesheet" href="{{asset(url('css/unicorn.main.css'))}}" />
    <link rel="stylesheet" href="{{asset(url('css/unicorn.grey.css'))}}" class="skin-color" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="{{asset('js/jquery.js')}}"></script>
    <script type="text/javascript" src="{{asset('layer/layer.js')}}"></script>
    <style>
        .alert{
            position: absolute;
            width: 300px;
            height: 100px;
            text-align: center;
            font-size: 20px;
            line-height: 100px;
            background:red;
            padding: 0px;
            left: 40%;
            top: 40%;
            display: none;
            border-radius:10px;
        }
    </style>
</head>
<body>
<div id="header">
    <h1><a href="./dashboard.html">Unicorn Admin</a></h1>
</div>
<div id="user-nav" class="navbar navbar-inverse">
    <ul class="nav btn-group">
        <li class="btn btn-inverse"><a title="" href="#"><i class="icon icon-user"></i> <span class="text">用户</span></a></li>
        <li class="btn btn-inverse dropdown" id="menu-messages"><a href="#" data-toggle="dropdown" data-target="#menu-messages" class="dropdown-toggle"><i class="icon icon-envelope"></i> <span class="text">信息</span> <span class="label label-important">5</span> <b class="caret"></b></a>
            <ul class="dropdown-menu">
                <li><a class="sAdd" title="" href="#">new message</a></li>
                <li><a class="sInbox" title="" href="#">inbox</a></li>
                <li><a class="sOutbox" title="" href="#">outbox</a></li>
                <li><a class="sTrash" title="" href="#">trash</a></li>
            </ul>
        </li>
        <li class="btn btn-inverse"><a title="" href="#"><i class="icon icon-cog"></i> <span class="text">设置</span></a></li>
        <li class="btn btn-inverse"><a title="" href="{{url('admin/login/quit')}}"> <span class="text">退出</span></a></li>
    </ul>
</div>

<div id="sidebar">
    <ul>
        <li class="submenu">
            {{--@foreach($tree as $key => $value)--}}
            {{--<a href="#"><i class=" icon-th-list"></i> <span>{{$key}}</span></a>--}}
            {{--<ul>--}}
                {{--@foreach($value as $v)--}}
                    {{--<li><a href="{{url($v->name)}}" ><i class="fa fa-fw fa-plus-square"></i>{{$v->display_name}}</a></li>--}}
                {{--@endforeach--}}
            {{--</ul>--}}
            {{--@endforeach--}}
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>前台用户管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/person')}}">用户列表</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>后台用户管理</span> <span class="label">3</span></a>
            <ul>
                <li><a href="{{url('admin/user')}}">用户列表</a></li>
                <li><a href="{{url('admin/user/create')}}" >用户添加</a></li>
                <li><a href="{{url('admin/user/create')}}" >密码修改</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>角色管理</span> <span class="label">2</span></a>
            <ul>
                <li><a href="{{url('admin/role')}}"  >角色列表</a></li>
                <li><a href="{{url('admin/role/create')}}"  >角色添加</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>权限管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/rule')}}"  >权限列表</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>分类管理</span> <span class="label">2</span></a>
            <ul>
                <li><a href="{{url('admin/CategoryList')}}">分类列表</a></li>
                <li><a href="{{url('admin/CategoryAdd')}}">分类添加</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>单品管理</span> <span class="label">2</span></a>
            <ul>
                <li><a href="{{url('admin/SingleList')}}">单品列表</a></li>
                <li><a href="{{url('admin/SingleAdd')}}">单品添加</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>良品购分类管理</span> <span class="label">2</span></a>
            <ul>
                <li><a href="{{url('admin/CategoodsList')}}">良品购分类列表</a></li>
                <li><a href="{{url('admin/CategoodsAdd')}}">良品购分类添加</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>良品购管理</span> <span class="label">2</span></a>
            <ul>
                <li><a href="{{url('admin/LianggoodsList')}}">良品购列表</a></li>
                <li><a href="{{url('admin/LianggoodsAdd')}}">良品购添加</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>点赞管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/ZanList')}}">点赞列表</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>收藏管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/CollectList')}}">收藏列表</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>轮播图</span> <span class="label">2</span></a>
            <ul>
                <li><a href="{{url('admin/album')}}">相册列表</a></li>
                <li><a href="{{url('admin/banner')}}">相片列表</a></li>
            </ul>
        </li>
        {{--前台用户管理--}}
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>会员消息管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/Member')}}">会员消息列表</a></li>
            </ul>
        </li>
        {{--后台专辑管理--}}
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>专辑管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/special')}}">专辑列表</a></li>
            </ul>
        </li>
        {{--友情链接管理--}}
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>友情链接管理</span> <span class="label">2</span></a>
            <ul>
                <li><a href="{{url('admin/Link')}}">友情链接列表</a></li>
            </ul>
            <ul>
                <li><a href="{{url('admin/LinkCreate')}}">添加链接</a></li>
            </ul>
        </li>
        {{--文章管理--}}
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>文章管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/article')}}">文章列表</a></li>
            </ul>
        </li>
        {{--招聘管理--}}
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>招聘管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/joblist')}}">职业分类列表</a></li>
                <li><a href="{{url('admin/jobadd')}}">职业类别添加</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>职业管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/sjoblist')}}">招聘列表</a></li>
                <li><a href="{{url('admin/sjobadd')}}">职业添加</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>职业要求管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/job_need')}}">职业描述列表</a></li>
                <li><a href="{{url('admin/job_needadd')}}">职业描述添加</a></li>
            </ul>
        </li>
        {{--意见管理--}}
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>意见管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/messs')}}">意见列表</a></li>
            </ul>
        </li>
        {{--音乐管理--}}
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>音乐管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/music')}}">音乐列表</a></li>
                <li><a href="{{url('admin/musicadd')}}">音乐添加</a></li>
            </ul>
        </li>
        {{--统计管理--}}
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>统计管理</span> <span class="label">1</span></a>
            <ul>
                <li><a href="{{url('admin/CountList')}}">统计列表</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>达人管理</span> <span class="label">2</span></a>
            <ul>
                <li><a href="{{url('admin/DarenList')}}">达人列表</a></li>
                <li><a href="{{url('admin/DarenAdd')}}">达人添加</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>标签管理</span> <span class="label">2</span></a>
            <ul>
                <li><a href="{{url('admin/LabelList')}}">标签列表</a></li>
                <li><a href="{{url('admin/LabelAdd')}}">标签添加</a></li>
            </ul>
        </li>
        <li class="submenu">
            <a href="#"><i class="icon icon-th-list"></i> <span>帮帮管理</span> <span class="label">2</span></a>
            <ul>
                <li><a href="{{url('admin/HelpList')}}">帮帮列表</a></li>
                <li><a href="{{url('admin/HelpAdd')}}">帮帮添加</a></li>
            </ul>
        </li>

    </ul>

</div>

<div id="style-switcher">
    <i class="icon-arrow-left icon-white"></i>
    <span>Style:</span>
    <a href="#grey" style="background-color: #555555;border-color: #aaaaaa;"></a>
    <a href="#blue" style="background-color: #2D2F57;"></a>
    <a href="#red" style="background-color: #673232;"></a>
</div>
<div id="content">
    @yield('content')
</div>
<div class="alert alert-danger">
</div>
@if(session('mess'))
    <script>
        $(".alert").html('{{session('mess')}}').show().delay(1000).fadeOut(1000);
    </script>
@endif
<script src="{{asset('js/excanvas.min.js')}}"></script>
<script src="{{asset('js/jquery.min.js')}}"></script>
<script src="{{asset('js/jquery.ui.custom.js')}}"></script>
<script src="{{asset('js/bootstrap.min.js')}}"></script>
<script src="{{asset('js/jquery.flot.min.js')}}"></script>
<script src="{{asset('js/jquery.flot.resize.min.js')}}"></script>
<script src="{{asset('js/jquery.peity.min.js')}}"></script>
<script src="{{asset('js/fullcalendar.min.js')}}"></script>
<script src="{{asset('js/unicorn.js')}}"></script>
<script src="{{asset('js/unicorn.dashboard.js')}}"></script>
</body>
</html>
